package com.xiaoye.qbproject.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.xiaoye.qbproject.annotation.Excel;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 装备与战例关系表
 *
 * @TableName SUBJECT_ZL
 */
@Data
public class SubjectZlVo implements Serializable {
    /**
     * 专题id
     */
    private String subjectId;

    /**
     * 战例id
     */
    private String zlId;
    /**
     * 战例标题
     */
    @Excel(name = "战例标题")
    private String title;
    /**
     * 战例名称
     */
    @Excel(name = "战例名称")
    private String name;

    /**
     * 交战时间
     */
    @Excel(name = "交战时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date fightTime;
    /**
     * 交战地点
     */
    @Excel(name = "交战地点")
    private String fightAddress;
    /**
     * 进攻方
     */
    @Excel(name = "攻方")
    private String aggressor;
    /**
     * 守方
     */
    @Excel(name = "守方")
    private String defense;
    /**
     * 作战过程
     */
    @Excel(name = "作战过程")
    private String process;
    /**
     * 战损及战果
     */
    @Excel(name = "战损及战果")
    private String warResult;
    /**
     * 报道时间
     */
    @Excel(name = "报道时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date registerTime;
    /**
     * 来源
     */
    @Excel(name = "来源")
    private String source;

    private List<String> zlIds;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}